package com.hrpmar.service.impl;

import com.hrpmar.mapper.WorkerMapper;
import com.hrpmar.service.WorkerService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;

/**
 * Created by dell on 2017/12/2.
 */
@Service
@Transactional
public class WorkerServiceImpl implements WorkerService {

    @Resource
    private WorkerMapper workerMapper;

    @Override
    public Integer updatePwd(Integer woId, String rePwd) {
        return workerMapper.updatePwd(woId,rePwd);
    }

}
